package com.mdb.open.trade.feign.dto;

import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author : yu.zunlong
 * @description : 企业三要素匹配 请求参数
 * @date : 2019/7/29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(description = "企业三要素匹配")
public class CompanyVerifyDto extends DataObjectBase {
    private static final long serialVersionUID = -6406364344141678584L;

    @NotBlank(message = "注册号或统一信用代码，不能为空")
    @ApiModelProperty(value = "注册号或统一信用代码")
    private String regNo;

    @NotBlank(message = "公司名，不能为空")
    @ApiModelProperty(value = "公司名")
    private String companyName;

    @NotBlank(message = "法人，不能为空")
    @ApiModelProperty(value = "法人")
    private String frName;
}
